<%@page contentType="text/html;charset=UTF-8" language = "java"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<div id="header">
	<c:if test="${userinfo == true}">
	<div id="welcome">欢迎，<c:out value="${userName}"/>，<a href="userRedirect.do?action=logout">退出登陆</a></div>
	</c:if>
	<c:if test="${userinfo != true}">
	<div id="welcome">您好，请<a href="userRedirect.do?action=login">登陆</a>或者<a href="userRedirect.do?action=register">注册</a></div>
	</c:if>
	<div class="clear"></div>
	<a href="page.do?action=index"><img id="banner" alt="banner" src="images/xmu.jpg"></img></a>
	<span class="banner-text">自强不息，止于至善</span>
	<div class="clear sep-line"></div>
</div>